/*
 *  Date: 2011-11-6 下午04:00:33
 *  Copyright (c) 2011 asiainfo-linkage
 */
package com.gjframe.example.service;

import com.gjframe.commen.db.provider.helper.Pagination;
import com.gjframe.example.bean.BasePerson;

public interface PersonService {

    public Pagination<BasePerson> findList(BasePerson person, Integer pageNo, Integer pageSize) throws Exception;

    public BasePerson findById(Integer id) throws Exception;
    
    public int save(BasePerson person)throws Exception;
    
    public int update(BasePerson person)throws Exception;

    public int delete(Integer id)throws Exception;
}
